package com.ddwl.message.mapper;

import com.ddwl.common.dao.mapper.BaseMapper;
import com.ddwl.message.model.MessageUserOld;
import com.ddwl.schema.bo.message.MessageSearchBo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/8/13 18:20
 */
@Repository
public interface MessageUserMapperOld extends BaseMapper<MessageUserOld, MessageSearchBo> {

    void delete(@Param("msgId") String msgId, @Param("userId") String userId);

    List<MessageUserOld> findByMsgIds(@Param("userId") String userId, @Param("msgIds") List<String> msgIds);
}
